<?php get_header(); // mandamos llamar el header ?>
<div class="container">
	<div class="content-page">		
	 <!-- Carousel
    ================================================== -->
    <div id="myCarousel" class="carousel slide">
      <div class="carousel-inner">
        <div class="item active">
          <img src="<?php  bloginfo( 'template_url' ); ?>/img/mesa.jpg" alt="">
          <div class="container">
            <div class="carousel-caption titulo-equipo">
              <h1>Example headline.</h1>
              <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
            </div>
          </div>
        </div>
      </div>
    </div><!-- /.carousel -->
	<div class="container marketing">
    <!-- Three columns of text below the carousel -->
	<div class="row-blog">
	<div id="title-portafolio">
			<h1>EQUIPO</h1>
		</div>
      <div class="row">
		  
		<?php
		$query = new WP_Query(  array( 'category_name' => 'equipo', 'order' => 'DESC' ) );
		while ( $query->have_posts() ) : $query->the_post();  
		?>
		<div class="span4">
			<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail('equipo-page');?></a>
			<h2><?php the_title(); ?></h2>
		</div><!-- /.span4 -->
		<?php   
		endwhile;
		?>        
        
      </div><!-- /.row -->
      </div><!-- /.row -->
	</div>
	</div>
